<template>
    <div class="s">
        <h1>{{ msg }}</h1>
        <h3>姓名：{{ name }}</h3>
        <h3>年龄：{{ age }}</h3>
    </div>
</template>

<script>
export default {
    name: 'User',
    data() {
        return {
            msg: '用户信息',
            name: '张三2',
            age: 20
        }
    },
}
</script>

<style scoped>
.s {
    background-color: aquamarine;
}
</style>
